<template>
    <div id="main-layout">
        <Sidebar />
        <div class="main-content">
            <Navbar />
            <router-view />
        </div>
    </div>
</template>

<script>
import UserControl from './pages/UserControl.vue';
import AddUserForm from './pages/AddUserForm.vue';
import Sidebar from './Sidebar.vue';
import Navbar from './Navbar.vue';

export default {
    components: {
        Sidebar,
        Navbar,
        UserControl,
        AddUserForm
    }
};
</script>

<style scoped>
#main-layout {
    display: flex;
}

.main-content {
    flex: 1;
    padding: 20px;
    margin-left: 200px;
    margin-top: 60px;
}
</style>